package com.yjt.javatest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class Answer {
  @TableId(value="id",type= IdType.AUTO)
  private Long id;

  @NotNull
  private Long testId;

  @NotNull
  private Long userId;

  private String scoreList;

  private String answersList;

  private Integer allScore;


  private String createdAt;

  private String updatedAt;

}
